<div class="tableoptions">
                	<button onclick="window.location.href='<?php echo base_url() ?>admin/pengumuman_tambah'" class="deletebutton radius3" title="Tambah Pengumuman">Tambah Pengumuman</button> &nbsp; <button onclick="window.location.href='<?php echo base_url() ?>admin/kategori'" class="deletebutton radius3" title="Tambah Pengumuman">Manajemen Kategori</button>

                </div><!--tableoptions-->	
<table width="100%" cellpadding="0" cellspacing="0" border="0" class="stdtable">
                    <colgroup>
                        <col class="con0" />
                        <col class="con1" />
                        <col class="con0" />
                        <col class="con1" />
                        <col class="con0" />
                        <col class="con1" />
                    </colgroup>
                    <thead>
  <tr>
    <td width="3%" align="left">No</td>
    <td width="47%" align="left">Judul</td>
    <td width="10%" align="left">Kategori</td>
    <td width="13%">Tgl Publish</td>
    <td width="13%">Tgl Ubah</td>
    <td width="14%" class="center">Aksi</td>
  </tr>
  					</thead>
<?php $no=1; foreach ($homes as $hm): ?>
  <tr>
    <td width="3%" align="left"><?php echo $no++; ?></td>
    <td width="47%" align="left"><?php echo $hm->judul_pengumuman;?></td>
    <td width="10%" align="left"><?php echo $hm->kategori;?></td>
    <td width="13%"><?php echo $hm->tanggal_publish;?></td>
    <td width="13%"><?php echo $hm->tanggal_ubah;?></td>
    <td width="14%" align="center"><a href="javascript:window.open('<?php echo base_url() ?>home/detail_pengumuman/<?php echo $hm->id_pengumuman;?>', 'Lihat Pengumuman', 'width=1200,height=600');" class="edit" title="Lihat Pengumuman"><i class="fa fa-eye fa-lg"></i></a> &nbsp;&#8212;&nbsp;<a href="<?php echo base_url() ?>admin/pengumuman_edit/<?php echo $hm->id_pengumuman;?>" class="edit"><i class="fa fa-pencil fa-lg"></i></a> &nbsp;&#8212;&nbsp; <a href="<?php echo base_url() ?>admin/cproc_pengumuman_hapus/<?php echo $hm->id_pengumuman;?>" class="delete" onClick="return confirm('Apakah Anda Ingin menghapus data ini ?')"><i class="fa fa-minus-square fa-lg"></i></a></td>
  </tr>
<?php endforeach; ?> 
</table><br>
<center><?php echo $halaman;?></center>

